<?php
class User
{
	var $right;
	
	function User()
	{
		$this->right = array();
	}
	
	function createAdminUser()
	{
		$this->right["ReadDir"] = true;
	}
}

$user = new User();
$user->createAdminUser();
?>